package Igor_Dominiak;

public class Kolo {
	private double r;

	public Kolo(double r) {
		this.r = r;
	}
	
	public Kolo(Kolo k) {
		r = k.r;
	}

	public double getR() {
		return r;
	}

	public void setR(double r) {
		this.r = r;
	}

	public double pole(int r) {
		return 2 * Math.PI * r * r;
	}

	public double dlugosc_srednicy(double r) {
		return 2 * r;
	}

	public double obwod_kola(int r) {
		return 2 * Math.PI * r;
	}
}
